package com.starlink.databaseservice.model;

import lombok.*;

import javax.persistence.Entity;
import java.time.LocalDateTime;

/**
 * @author EDY
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Post extends BaseEntity{
    private String mongoId;
    private String code;
    private String simpleCode;
    private Long postUserId;
    private String postFrom;
    private String postTitle;
    private String postContent;
    private Integer contentType;
    private LocalDateTime postLastTime;
    private LocalDateTime postPublishTime;
    private Integer postClickCount;
    private Integer postCommentCount;
    private Integer postLikeCount;
    private Long postId;
    private String postSourceId;
    private Short label;


}
